package com.itheima.api;

import com.itheima.domain.Comment;
import com.itheima.enums.CommentType;
import com.itheima.vo.PageResult;

public interface CommentsApi {
    PageResult comments(String movementId, Integer page, Integer pagesize, CommentType commentType);

    Integer publishComments(Comment comment);

    Boolean hasLike(Long userId, String movementId, CommentType like);

    Integer delete(Comment comment);
}
